package com.itheima.nosql.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("spu")
public class Spu {
    // @Transient
    private Long id;
    private String name;
    private Sku[] sku;
}
